package net.hn.hnms.biz.safety.wind.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * @author 智呈物联 nzw
 * @date 2022/12/20
 */

@Data
@Entity
@Table(name = "wind_window_details")
public class WindWindowDetailsEntity {

    @ApiModelProperty(value = "风窗详情id")
    @Column(name = "wind_window_details_id")
    @TableId(value = "wind_window_details_id")
    @Id
    private Long id;

    @Column(name = "wind_window_id")
    @ApiModelProperty(value = "风窗id")
    private Long windWindowId;

    @Column(name = "wind_window_name")
    @ApiModelProperty(value = "风窗名称")
    private String windWindowName;

    @Column(name = "wind_window_max_opening_area")
    @ApiModelProperty(value = "风窗最大开口面积")
    private BigDecimal windWindowMaxOpeningArea;

    @Column(name = "closeIn_place")
    @ApiModelProperty(value = "关到位")
    private String closeInPlace;

    @Column(name = "openIn_place")
    @ApiModelProperty(value = "开到位")
    private String openInPlace;

    @Column(name = "wind_window_sectional_area")
    @ApiModelProperty(value = "风窗开口面积")
    private String windWindowSectionalArea;

    @Column(name = "air_speed")
    @ApiModelProperty(value = "风量")
    private String airSpeed;

    @Column(name = "press")
    @ApiModelProperty(value = "风压")
    private String press;

    @Column(name = "opening_current_angle")
    @ApiModelProperty(value = "风窗当前开度")
    private String openingCurrentAngle;
}
